head=("用户名","密码","姓名","电话号码","地址","出生年月")
s=[]
for item in head:
    s.append(input(f"请输入{item}"))
with open(r"E:\Python文件\注册登入\re.txt","a",encoding="utf8")as f:
    f.write("\n"+str(s))